package czh.cocoa.foundation;

public class NSNotification extends NSObject {

	private NSString mName;
	
	private NSObject mObject;
	
	private NSDictionary mUserInfo;
	
	public NSNotification(NSString name, NSObject object) {
		this(name, object, null);
	}
	
	public NSNotification(NSString name, NSObject object, NSDictionary userInfo) {
		mName = name;
		mObject = object;
		mUserInfo = userInfo;
	}
	
	public NSString name() {
		return mName;
	}
	
	public NSObject object() {
		return mObject;
	}
	
	public NSDictionary userInfo() {
		return mUserInfo;
	}
	
}
